import {request} from '../util/request.js'

export function getUserinfo() {
	return request({
		url: '/yujiaowang/wechatdata/getInfo',
		method: 'get',
	})
}

export function getPrice(data) {
	return request({
		url: '/yujiaowang/wechatdata/AppPriceByUserId',
		method: 'get',
		data: data
	})
}

export function getHandingfee(data) {
	return request({
		url: '/yujiaowang/wechatdata/listAppHandingfee',
		method: 'get',
		data: data
	})
}

export function getExpense(data) {
	return request({
		url: '/yujiaowang/wechatdata/selectAppExpense',
		method: 'get',
		data: data
	})
}

export function getPriceSum() {
	return request({
		url: '/yujiaowang/wechatdata/priceSum',
		method: 'get',
	})
}

export function getSum() {
	return request({
		url: '/yujiaowang/wechatdata/sum',
		method: 'get',
	})
}

export function getOtherList(data) {
	return request({
		url: '/yujiaowang/phoneinhouse/list',
		method: 'get',
		data: data
	})
}

export function getOtherSum(data) {
	return request({
		url: '/yujiaowang/phoneinhouse/sum',
		method: 'get',
		data: data
	})
}
